package com.yunpuvip.sachet.modular.vo.rest.request;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ auther wushaohong
 * @ date  2019/8/11
 **/
@Data
public class UserPrepayVo  implements Serializable {



    /**
     * 缴费单id
     */
    @NotNull(message = "支付账单ID不能为空")
    private  Integer paymentId;

    @NotEmpty(message = "用户openId不能为空")
    private String openId;

    /**
     * 支付方式
     */
    @NotNull(message = "支付方式不能为空")
    private Integer payMethod;

    /**
     *  余额支付
     */
    //@Min(value = 0,message = "余额支付必须大于0")
    private BigDecimal subAmout=BigDecimal.ZERO;





}
